Network retry issue 1602
authorStephen Becker IV <github@deathbyescalator.com>
Thu, 12 May 2016 01:34:15 +0000 (18:34 -0700)
committerStephen Becker IV <github@deathbyescalator.com>
Thu, 12 May 2016 18:26:58 +0000 (11:26 -0700)
commit7b03532b4f58eea1ccdb397a1b8500fe797df198
treec4811384bd2d27b59b72c05b3572fcf6483e23ca
parente3bc03050f5acb08612f43fc362564f54f969f9c
Network retry issue 1602

Dearest Reviewer,

This branch resolves #1602 which relates to retrying network
issues automatically. There is a new utility helper for retrying
any network call.

There is a new config called net.retry value in the .cargo.config
file. The default value is 2. The documentation has also been
updated to reflect the new value.

Thanks
Becker
15 files changed:
Cargo.lock
Cargo.toml
src/cargo/lib.rs
src/cargo/sources/git/source.rs
src/cargo/sources/git/utils.rs
src/cargo/sources/registry.rs
src/cargo/util/config.rs
src/cargo/util/errors.rs
src/cargo/util/mod.rs
src/cargo/util/network.rs [new file with mode: 0644]
src/doc/config.md
tests/support/mod.rs
tests/test_cargo_build_auth.rs
tests/test_cargo_net_config.rs [new file with mode: 0644]
tests/tests.rs